<template>
  <div class="main-box">
    <div  class="education-container">
      <div  class="center-box">
        <div  class="quick-entry clearfix">
          <div  class="avatar-box">
            <img
              data-src="https://attachment-center.boxuegu.com/data/attachment/univ/defalut_avartar/teacher.jpg"
              src="https://attachment-center.boxuegu.com/data/attachment/univ/defalut_avartar/teacher.jpg"
              lazy="loaded"
            />
          </div>
          <div  class="info-box">
            <p >
              <span  class="tip-label">
                早上好，老师！
                <span >
                  <span >
                    您还没有进行
                    <a  href="/personal/certificate" class="link-text">教师认证</a>，立即认证体验更多功能
                  </span>
                </span>
                <!---->
              </span>
            </p>
            <p  class="change-role-box">
              我是学生，点击访问
              <a
                
                href="http://tch.ityxb.com/back/bxg/user/loginToStu"
                target="_blank"
                class="link-text"
              >学生端</a>
            </p>
            <div  class="progress-box">
              <label  for>个人资料：</label>
              <span  class="progress-wrap">
                <span  class="progress-line" style="width: 10%;"></span>
              </span>
              <span  class="progress-num">10%</span>
            </div>
          </div>
          <ul data-v-7e5450a5 >
            <li data-v-7e5450a5>
              <div data-v-7e5450a5 class="el-badge">
                <img
                  data-v-7e5450a5
                  src=""
                  alt
                  width="58"
                  height="58"
                />
                <p data-v-7e5450a5>系统通知</p>
                <sup
                  class="el-badge__content el-badge__content--undefined is-fixed"
                  style="display: none;"
                >0</sup>
              </div>
            </li>
            <li data-v-7e5450a5>
              <div data-v-7e5450a5 class="el-badge">
                <img
                  data-v-7e5450a5
                  src=""
                  alt
                  width="58"
                  height="58"
                />
                <p data-v-7e5450a5>待批作业</p>
                <sup
                  class="el-badge__content el-badge__content--undefined is-fixed"
                  style="display: none;"
                >0</sup>
              </div>
            </li>
            <li data-v-7e5450a5>
              <div data-v-7e5450a5 class="el-badge">
                <img
                  data-v-7e5450a5
                  src=""
                  alt
                  width="58"
                  height="58"
                />
                <p data-v-7e5450a5>待批考试</p>
                <sup
                  class="el-badge__content el-badge__content--undefined is-fixed"
                  style="display: none;"
                >0</sup>
              </div>
            </li>
            <li data-v-7e5450a5>
              <img
                data-v-7e5450a5
                src=""
                alt
                width="58"
                height="58"
              />
              <p data-v-7e5450a5>学生管理</p>
            </li>
          </ul>
        </div>
        <div  class="list-container">
          <div  class="type-tab clearfix">
            <ul >
              <li  class="active">
                <span  class="tab-btn">在授课程</span>
              </li>
              <li  class>
                <span  class="tab-btn">已归档课程</span>
              </li>
            </ul>
          </div>
          <div  class="list-box clearfix">
            <ul >
              <li  class="list-item add-box">
                <div  class="item-box" @click="addCourse">
                  <div >
                    <i  class="iconfont icon-jiahao"></i>
                  </div>
                  <span  class="name">添加课程</span>
                </div>
              </li>
              <li  class="list-item list-item-box">
                <div  class="item-box">
                  <div  class="img-wrap">
                    <img
                      
                      alt
                      data-src="https://attachment-center.boxuegu.com/data/picture/univ/2020/06/23/14/47932f800da04411bcac3300a5c2818e.jpg"
                      src="https://attachment-center.boxuegu.com/data/picture/univ/2020/06/23/14/47932f800da04411bcac3300a5c2818e.jpg"
                      lazy="loaded"
                    />
                  </div>
                  <span  title="平台使用教程" class="name">
                    平台使用教程
                    <!---->
                  </span>
                  <span  class="archive-btn">归档</span>
                  <!---->
                  <!---->
                </div>
              </li>
              <!---->
            </ul>
          </div>
        </div>
      </div>
      <div  class="el-dialog__wrapper" style="display: none;">
        <div
          role="dialog"
          aria-modal="true"
          aria-label="选择建课方式"
          class="el-dialog"
          style="margin-top: 15vh; width: 551px;"
        >
          <div class="el-dialog__header">
            <span class="el-dialog__title">选择建课方式</span>
            <button type="button" aria-label="Close" class="el-dialog__headerbtn">
              <i class="el-dialog__close el-icon el-icon-close"></i>
            </button>
          </div>
          <!---->
          <!---->
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  components: {},

  methods: {
    addCourse(){
      // if(){ // 1、判断是否通过教师验证
        
        // 2、添加课程
        

      // }
    }
  },
};
</script>

<style  scoped>
.main-box {
    min-height: 800px;
}
.education-container {
    background: #f5f7fa;
    padding-bottom: 52px;
}
.education-container .center-box {
    width: 1200px;
    margin: auto;
    padding-top: 26px;
}
.education-container .center-box .quick-entry {
    height: 182px;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 9px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 38px 0 0 28px;
}
.education-container .center-box .quick-entry .avatar-box {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    float: left;
    margin-right: 15px;
    background-image: url();
    background-position: 50%;
}
.education-container .center-box .quick-entry .avatar-box img {
    height: 90px;
    width: 90px;
}
.education-container .center-box .quick-entry .info-box {
    width: 351px;
    letter-spacing: 2px;
    padding-top: 21px;
    float: left;
    margin-right: 23px;
}
.education-container .center-box .quick-entry .info-box p {
    margin-bottom: 20px;
    color: #303133;
    line-height: 18px;
}
.education-container .center-box .quick-entry .info-box p .tip-label {
    font-weight: 600;
    margin-right: 30px;
}

.education-container .center-box .quick-entry .info-box p .link-text {
    color: #1058fa;
    position: relative;
}
.education-container .center-box .quick-entry .info-box {
    width: 351px;
    letter-spacing: 2px;
    padding-top: 21px;
    float: left;
    margin-right: 23px;
}
.education-container .center-box .quick-entry .info-box .progress-box {
    cursor: pointer;
}
.education-container .center-box .quick-entry .info-box .progress-box label {
    color: #606266;
    cursor: pointer;
}
.education-container .center-box .quick-entry .info-box .progress-box .progress-wrap {
    width: 159px;
    height: 7px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #e1e7ec;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}
.education-container .center-box .quick-entry .info-box .progress-box .progress-wrap .progress-line {
    height: 8px;
    border-radius: 5px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(325deg,#4aa4ff,#1058fa);
}
.education-container .center-box .quick-entry .info-box .progress-box .progress-num {
    margin-left: 10px;
    color: #1058fa;
}
ul[data-v-7e5450a5] {
    float: right;
}
ul li[data-v-7e5450a5] {
    float: left;
    width: 80px;
    text-align: center;
    color: #303133;
    margin-right: 74px;
    cursor: pointer;
    font-size: 20px;
}
.el-badge {
    position: relative;
    vertical-align: middle;
    display: inline-block;
}
ul li img[data-v-7e5450a5] {
    margin-bottom: 20px;
}
ul li[data-v-7e5450a5] .el-badge__content.is-fixed {
    top: 5px;
    right: 20px;
}

.el-badge__content.is-fixed {
    position: absolute;
    top: 0;
    right: 10px;
    -webkit-transform: translateY(-50%) translateX(100%);
    transform: translateY(-50%) translateX(100%);
}
.el-badge__content {
    background-color: #f56c6c;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #fff;
}
.education-container .center-box .list-container {
    background: #fff;
    border-radius: 6px;
    padding: 16px 22px;
    min-height: 560px;
}
.education-container .center-box .list-container .type-tab {
    margin-bottom: 40px;
    border-bottom: 1px solid #eef3f7;
}
.education-container .center-box .list-container .type-tab ul li.active {
    background: #f2f6fc;
    color: #010101;
    font-size: 18px;
    font-weight: 600;
}
.education-container .center-box .list-container .type-tab ul li .tab-btn {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}
.education-container .center-box .list-container .type-tab ul li {
    text-align: center;
    cursor: pointer;
    /* float: left; */
    display: inline-block;
    width: 108px;
    height: 40px;
    line-height: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    color: #686b6e;
    font-size: 14px;
    -webkit-transition: all .2s;
    transition: all .2s;
    letter-spacing: 2px;
}
li {
    list-style: none;
}
.education-container .center-box .list-container .list-box ul .list-item.add-box {
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 2px;
    padding: 0;
}

.education-container .center-box .list-container .list-box ul .list-item .item-box {
    text-align: center;
    height: 100%;
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.education-container .center-box .list-container .list-box ul .list-item.add-box .item-box>div {
    height: 153px;
    padding-top: 50px;
    border: 1px solid #eef3f7;
}
.education-container .center-box .list-container .list-box ul .list-item.add-box .item-box>div:hover {
  box-shadow: 0px 0px 10px 5px #EEF3F7;
}
.education-container .center-box .list-container .list-box ul .list-item.add-box i {
    font-size: 50px;
    color: #d8d8d8;
}
.education-container .center-box .list-container .list-box ul .list-item .item-box .name {
    top: -4px;
    font-size: 14px;
    display: block;
    position: relative;
    line-height: 40px;
    height: 40px;
    text-align: left;
    width: 165px;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    letter-spacing: 2px;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.education-container .center-box .list-container .list-box ul .list-item {
    float: left;
    width: 167px;
    height: 204px;
    padding-top: 17px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    color: #333;
    text-align: center;
    margin-right: 30px;
    margin-bottom: 30px;
    -webkit-transition: all .1s;
    transition: all .1s;
}
.education-container .center-box .list-container .list-box ul .list-item .item-box .img-wrap img {
    height: 134px;
    width: 110px;
}
.education-container .center-box .list-container .list-box ul .list-item .item-box .name {
    top: -4px;
    font-size: 14px;
    display: block;
    position: relative;
    line-height: 40px;
    height: 40px;
    text-align: left;
    width: 165px;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    letter-spacing: 2px;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.education-container .center-box .list-container .list-box ul .list-item .item-box .archive-btn {
    position: absolute;
    background: rgba(243,246,254,.8);
    line-height: 22px;
    color: #1058fa;
    padding: 0 14px;
    margin-left: 10px;
    font-weight: 600;
    top: -25px;
    right: -19px;
    display: none;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 3px;
    border: 1px solid #b7ccfd;
}
</style>